package com.yykj.bank.server.model.repository;

import com.yykj.bank.client.dto.BankInfoDTO;
import com.yykj.bank.server.model.entity.BankInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BankInfoRepository extends JpaRepository<BankInfo, String> , JpaSpecificationExecutor<BankInfo> {
    List<BankInfo> findAllByStatus(Boolean status);
}
